package com.sfac.housekeeper.property.service;

import com.github.pagehelper.PageInfo;
import com.sfac.housekeeper.common.vo.Result;
import com.sfac.housekeeper.common.vo.Search;
import com.sfac.housekeeper.property.entity.Books;

public interface BooksService {

    Result<Books> insertBooks(Books books);

    Result<Books> updateBooks(Books books);

    Result<Object> deleteBooksById(int id);

    Books getBooksById(int id);

    PageInfo<Books> getBooksListBySearch(Search search);
}